var gallery;
var $searchBtn;

function init() {
    gallery = mui('.mui-slider');
    $searchBtn = $('#searchBtn');
}

function initView() {
    gallery.slider({
        interval: 5000
    });
    $searchBtn.bind('tap', function () {
        mui.openWindow('../search/index.html', 'id');
    });

}


$(function () {
    init();
    initView();
});
